package behavioral.observer;

import java.util.Observable;
import java.util.Observer;

public class Teacher2 implements Observer {
    private String name;

    @Override
    public void update(Observable o, Object arg) {
        System.err.println("Teacher-name:"+arg.toString());
    }
}
